<template>
  <div class="index-main">
     <van-tabs v-model="active">
      <van-tab title="待评估"></van-tab>
      <van-tab title="已完成"></van-tab>
      <van-tab title="已录入"></van-tab>
    </van-tabs>
    <div class="index-main2">
      <van-search v-model="search" placeholder="搜索" />
        <van-list
      v-model="loading"
      :finished="true"
    >
      <van-cell v-for="item in list" :key="item" :title="item" />
    </van-list>
    </div>
  </div>
</template>

<script>
import {
  Validatedface
} from "@/api/api";

export default {
  // components:{
  //   Cell,
  //   CellGroup,
  //   Button,
  //   Icon
  // },
  data() {
    return {
      username:'',
      active:'',
      search:'',
      list : [1,2,3],
      loading : false,
      finished :false
    };
  },
  created() {
  
  },
  mounted() {
 
  },
  // 页面销毁
  beforeDestroy() {
 
  },
 
  methods: {
  },
};
</script>

<style lang="scss" scoped>
.index-main {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}
.index-main2 {
  padding-top: 20px;
  margin: 0 auto;
  width: 90%;
  height: 100%;
  background-color: #f5f5f5;
}
.kaoqing {
  width: 100%;
  position: relative;
  height: 85%;
}

.time {
  position: relative;
  text-align: center;
  margin-top: 10%;
}

.topTime {
  font-weight: 600;
  font-size: 129px;
}

.bottomTime {
  font-weight: 600;
  font-size: 40px;
}

.errPunch {
  position: absolute;
  width: 80%;
  height: 100px;
  left: 10%;
  bottom: 5%;
  .defe {
    width: 100%;
    display: inline-block;
    text-align: center;
  }
  .defend {
    color: red;
    display: inline-block;
    text-align: center;
    width: 100%;
  }
}

.punchClock {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 30%;
}

.place {
  position: relative;
  text-align: center;
  top: 10%;
}

/deep/.van-button--primary {
  width: 90%;
  background-color: #2049a6;
  border-radius: 10px;
}

.calendar {
  font-size: 27px;
  position: absolute;
  width: 100%;

  .mounth {
    height: 80px;
    line-height: 80px;
    text-align: center;
    position: relative;
    width: 100%;
    background-color: #cdcdcd;
  }

  .dateCalendar {
    background-color: white;

    .day {
      display: inline-block;
      width: 14.2%;
      height: 120px;
      // border: 1px solid;
      text-align: center;
      border-top: 7px solid #f5f5f5;
      vertical-align: top;
    }
  }
}

.topYear {
  background-color: white;
  // text-align: center;
  // margin: 0 auto;
  width: 80%;
  height: 70px;
  line-height: 70px;
  display: inline-block;
  margin: 0 auto;
  span {
    color: #1989fa;
    position: absolute;
    width: 100%;
    // right: 3%;
    // text-align: center;
    margin-left: 20px;
  }
}

.maintain {
  color: #1989fa;
}

.queqing {
  color: red;
}

//王丽的样式
/deep/.van-tab--active {
  color: #508ffa;
}

/deep/.van-tabs__line {
  background-color: #508ffa;
}

.weihu {
  background-color: #f7f7f7;
  padding: 20px;

  .item {
    border: 1px solid #ededed;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .item-title {
      font-size: 30px;
      margin-bottom: 10px;
    }

    .item-hour {
      color: #ea5252;
      font-size: 25px;
    }

    .btn {
      padding: 10px 30px;
      background: #508ffa;
      color: #fff;
      border-radius: 26px;
    }
  }
}
#img2 {
  /*display: block;*/
  animation: rotate 500ms linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotateZ(0deg); /*从0度开始*/
  }
  100% {
    transform: rotateZ(360deg); /*360度结束*/
  }
}
.tijiao {
  background-color: #f7f7f7;
  padding: 20px;

  .item {
    border: 1px solid #ededed;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 30px 30px;
  }

  .item-children {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #cdcdcd;
    padding-bottom: 30px;
    font-size: 30px;
  }

  .item-date {
    font-size: 25px;
    padding-top: 30px;
  }
}

//
</style>
